@import (less) "../../common/css/container.less";
@contentColor: #fff;
@textIndent: 10px;
@serviceListFieldWidth: 33.3%;
.moreBtn {
    color: #666;
    cursor: pointer;
    span {
        font-size: 16px;
    }
    svg {

    }
}
.home {
    .title {
        font-size: 42px;
        margin-top: 22vh;
        font-weight: 400;
        color: @contentColor;
        line-height: 1;
        padding-left: @textIndent;
    }
    .slogan {
        font-weight: 400;
        font-size: 60px;
        line-height: 1;
        color: #fff;
        margin-top: 26px;
        color: @contentColor;
        padding-left: @textIndent;
    }
    .strip {
        width: 50px;
        height: 4px;
        margin-top: 40px;
        background-color: @contentColor;
        margin-left: @textIndent + 8px;
        margin-bottom: 22px;
    }
    .enSlogan {
        font-size: 22px;
        line-height: 1;
        color: #a8add0;
        margin-top: 13px;
        padding-left: @textIndent + 10px;
    }
    .learnMore {
        width: 210px;
        height: 50px;
        font-weight: 500;
        border: 1px solid #fff;
        color: @contentColor;
        line-height: 50px;
        font-size: 17px;
        text-align: center;
        margin-top: 105px;
        margin-left: 21px;
        cursor: pointer;
        &:hover {
            color: #ccc;
        }
        svg {
            transform: translateY(4px);
        }
    }
    .moduleHeader {
        // background-color: #fff;
        text-align: center;
        overflow: hidden;
        .mainTitle {
            margin-top: 90px;
            font-size: 32px;
            line-height: 1; 
            color: #363636;
        }
        .subTitle {
            font-size: 18px;
            color: #666;
            margin-top: 14px;
            line-height: 1;
            margin-bottom: 60px;
        }
    }
    .service {
        .bannerMinWidth;
        background-color: #fff;
        .serviceList {
            overflow: hidden;
            .field {
                float: left;
                width: @serviceListFieldWidth;
                min-width: calc(@containerWidth / 3);
                height: 0;
                padding-bottom: 26%;
                min-height: calc(@containerWidth / 4);
                box-sizing: border-box;
                text-align: left;
                position: relative;
                .serviceItemTitle {
                    position: absolute;
                    top: 12%;
                    left: 10%;
                    z-index: 100;
                    color: #fff;
                    font-weight: 400;
                    .serviceFontTitle;
                }
                .hoverCover {
                    width: 0%;
                    height: 100%;
                    position: absolute;
                    overflow: hidden;
                    background: linear-gradient(45deg,rgba(102,51,153,.9),rgba(51, 102, 204, .9));
                    z-index: 10;
                    line-height: 34px;
                    color: #fff;
                    .serviceFontItem;
                    .keyframes(appearFromLeft; {
                        0% {width: 0%;}
                        100% {width: 100%;}
                    });
                    .serviceExplain {
                        width: 33.33vw;
                        min-width: calc( @containerWidth / 3);
                        list-style: disc inside none;
                        padding-top: 25%;
                        .serviceExplainItem {
                            text-indent: 3.5vw;
                        }
                    }
                    .rightBottomArrow {
                        position: absolute;
                        bottom: 60px;
                        right: 60px;
                        fill: #fff;
                        width: 60px;
                        height: 46px;
                    }
                }
                &:hover .hoverCoverAnimated {
                    .animation(appearFromLeft .3s ease-in);
                    width: 100%;
                }
                .serviceBackground {
                    left: 0;
                    top: 0;
                    position: absolute;
                    width: 100%;
                    height: 100%;
                }
            }
        }
    }
    .news {
        .clientMinWidth;
        background-color: #fff;
        padding-bottom: 60px;
        .newsContainer {
            .container;
        }
    }
    .cooperation {
        .clientMinWidth;
        background-color: #f4f4f4;
        .cooperationContainer {
            .container;
            [data-content="content"] {
                padding-top: 40px;
                padding-bottom: 80px;
                .cooperationItemContainer {
                    overflow: hidden;
                    .cooperationItem {
                        float: left;
                        width: 20%;
                        height: 120px;
                        text-align: center;
                        &:before {
                            font-size: 0;
                            content: "";
                            height: 100%;
                            vertical-align: middle;
                            display: inline-block;
                        }
                        .cooperationLogo {
                            // display: inline-block;
                            vertical-align: middle;
                            max-height: 100%;
                            max-width: 100%;
                        }
                    }
                }
                .moreBtn {
                    margin-top: 30px;
                }
            }
        }
    }
}
.newsSection {
    height: 360px;
    padding: 24px 0;
    display: flex;
    border-bottom: #f5f5f5;
    .newsMainContainer {
        flex: 1;
        position: relative;
        .newsTitle {
            font-size: 20px;
            color: #333;
            &:hover {
                color: #0066cc;
                text-decoration: none;
            }
        }
        .newsMain {
            margin-top: 40px;
            font-size: 16px;
            line-height: 30px;
            color: #666;
            max-height: 90px;
            overflow: hidden;
            position: relative;
            display: block;
            // text-overflow: ellipsis;
            // white-space: nowrap;
            margin-right: 100px;
            // &::after {
            //     content: "\02026";
            //     position: absolute;
            //     bottom: 4px;
            //     right: 1px;
            //     padding-left: 40px;
            //     background: linear-gradient(to right,transparent,#fff 55%);
            // }
            &:hover {
                text-decoration: none
            }
        }
        .moreBtn {
            position: absolute;
            left: 2px;
            bottom: 18px;
        }  
    }
    .newsPic {
       height: 100%;
       width: 600px;  
    }
}
